/**
 * @file TaskMgr.hpp
 * @author Derek Liu (yjkhtddx@sina.com)
 * @brief 任务管理器
 * @version 0.0.1
 * @date 2020-07-18
 * 
 * @coryright Copyright Sci-Tech Laboratories (c) 2020
 * 
 */
#pragma once
#include "DBMgr.hpp"
#include "eXosip2/eXosip.h"

class TaskMgr
{
private:
    TaskMgr(/* args */);
    ~TaskMgr();

public:
    static TaskMgr *instance();

public:
    void start();
    int DoScanTasks();

private:
    int send_invite_sdp(eXosip_t *context_eXosip, DBMgr::Device deviceInfo);
};
